home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 8 / developer source - volume 8.iso / dobbs / mar97 / browf104.gif < prev    next >
Graphics Interchange Format  |  1997-06-26  |  73KB  |  430x462  |  4-bit (16 colors)
Labels: text | screenshot | rectangle | number | parallel | font | display
OCR: WebScape Back Forward Home Reload Open ... Stop | Caas Location: Animation of Binpacking - Integrated Version Animation of Binpacking This page thows an animation of the first-fit binpstking algorithm. It contains three Oblets: a control panel, a transcript waw, and a graphics view The Oblets communchcete vie Network Object The Control Panel "The control panel allows the urer to adjust the number of bins and the number of weights, to stut the animation, and to edjuez: its speed. GO Number of bins: Number of weights: Slow us Wtidig Fast The Views The transcript view shows a log of the interesting events generated by the wigce ithm. The "clear" button clears the log. The graphics view shows a graphical representation of the bins and the weights contained therein. A new weight thet Is about to be added appears on the left asde of the view, and then jumps from bin to bin. probing for the first bin that is sufficiently empty. Probe (8.7220.6.0.51001 prote (0.5460.0.0.96001 prote 00_3430.2.0.0000000000000001000 probe (0,5480, 3.0.960) 1 2 9 11 10 Figure 4: Animation of first-fit binpacking.